Whenever under any last will, or trust indenture, the personal representative, trustee, or other fiduciary is required to, or has an option to, satisfy a bequest, devise, or transfer in trust to or for the benefit of the surviving spouse, or other beneficiary, in kind at the values as finally determined for federal estate tax purposes, the personal representative, trustee, or other fiduciary shall, in the absence of contrary provisions in such will or trust indenture, satisfy such bequest, devise, or transfer by distribution of assets, including cash, fairly representative of the appreciation or depreciation in the value of all properties available for distribution in satisfaction of such bequest, devise, or transfer.
SDCL 43-4-27