S.C. Code Ann. § 62-7-105
No gift, grant, bequest, or devise, whether in trust or otherwise, to religious, educational, charitable, or benevolent uses or for the purpose of providing for the care or maintenance of any part of any public cemetery shall be invalid because the instrument confers upon the trustee discretionary power in the selection and designation of the objects or beneficiaries of such trust or in carrying out the purposes thereof or by reason of contravening any statute or rule against perpetuities.