3. The court may apply cy pres to modify or terminate the trust by directing that the trust property be applied or distributed, in whole or in part, in a manner consistent with the settlor’s charitable purposes.
B. A provision in the terms of a charitable trust that would result in distribution of the trust property to a noncharitable beneficiary prevails over the power of the court under subsection A to apply cy pres to modify or terminate the trust only if, when the provision takes effect:
2005, c. 935, § 55-544.13; 2012, c. 614.