(a) Except as otherwise provided in subsections (b) and (c) of this section, this article applies to an express trust that is irrevocable or revocable by the grantor only with the consent of the trustee or a person holding an adverse interest.
(b) This article does not apply to a trust held solely for charitable purposes.
(c) Subject to §44D-8B-15 of this code, a trust instrument may restrict or prohibit exercise of the decanting power.
(d) This article does not limit the power of a trustee, powerholder, or other person to distribute or appoint property in further trust or to modify a trust under the trust instrument, law of this state other than this article, common law, a court order, or a nonjudicial settlement agreement.
(e) This article does not affect the ability of a grantor to provide in a trust instrument for the distribution of the trust property or appointment in further trust of the trust property or for modification of the trust instrument.