DIVORCE: PROTECTION OF BENEFICIARY'S INTEREST IN TRUST:
(m) If a trust has a transfer restriction allowed under (a) of this section, in the event of the divorce or dissolution of the marriage of a beneficiary of the trust, the beneficiary's interest in the trust is not considered property subject to division under AS 25.24.160 or 25.24.230 or a part of a property division under AS 25.24.160 or 25 25.24.230. Unless otherwise agreed to in writing by the parties to the marriage, this subsection does not apply to a settlor's interest in a self-settled trust with respect to assets transferred to the trust (1) after the settlor's marriage; or (2) within 30 days before the settlor's marriage unless the settlor gives written notice to the other party to the marriage of the transfer.
.