It is the purpose of this chapter to make uniform the laws of this and other states on the subject of charitable trusts and similar relationships. Recognizing the necessity for uniform application and enforcement of this chapter, its provisions are hereby declared mandatory and they shall not be superseded by the provisions of any trust instrument or similar instrument to the contrary.