(a) Where a will or a trust agreement authorizes the executor or trustee (hereinafter called the “fiduciary”) to satisfy wholly or partly in kind a pecuniary bequest or transfer in trust of a pecuniary amount, unless the will or trust agreement otherwise expressly provides, the assets selected by the fiduciary for that purpose shall be valued at their respective values on the date or dates of their distribution.
(b) Where a will or a trust agreement authorizes the fiduciary to satisfy wholly or partly in kind a pecuniary bequest or a transfer in trust of a pecuniary amount, and the will or trust agreement requires the fiduciary to value the assets selected for such distribution by a formula using a date other than the date or dates of their distribution, unless the will or trust agreement otherwise expressly provides, the assets selected by the fiduciary for distribution, together with any cash to be distributed, shall have an aggregate value on the date or dates of their distribution equal to the amount of such bequest or transfer in trust as determined by the formula stated in the will or trust agreement.