The sums paid in or contributed to the fund authorized by this article are hereby expressly permitted as and for a charitable and eleemosynary purpose. Such contributions are a provision for the discharge of a duty due from the persons contributing to the person or persons interred or to be interred in the cemetery and likewise a provision for the benefit and protection of the public by preserving, beautifying, and keeping cemeteries from becoming unkept and places of reproach and desolation in the communities in which they are situated. No payment, gift, grant, bequest, or other contribution for such purpose is invalid by reason of any indefiniteness or uncertainty of the persons designated as beneficiaries in the instruments creating the fund, nor is the fund or any contribution to it invalid as violating any law against perpetuities or the suspension of the power of alienation of title to property.