(a) A trust may be created for any lawful purpose.
(b) A condition in terrorem shall be void unless there is a direction in the trust instrument as to the disposition of the property if the condition in terrorem is violated, in which event the direction in the trust instrument shall be carried out.