(a) A trust has a valid spendthrift provision if:
- (1) the trust includes a provision that restricts both voluntary and involuntary transfers of a beneficiary's interest; or
- (2) by the terms of the trust instrument, the settlor manifests an intention to impose restrictions on both voluntary and involuntary transfers of a beneficiary's interest.