A bequest, devise, gift, grant, or promise contained in a will or other instrument of donation, subscription, or conveyance that is made to a disappearing entity and that takes effect or remains payable after the merger inures to the benefit of the surviving entity. A trust obligation that would govern property if transferred to the disappearing entity applies to property that is instead transferred to the surviving entity under this section.