If a testamentary gift to a charity cannot be executed in the exact manner provided by the testator, the superior court may exercise equitable powers in such a way as will as nearly as possible effectuate the intention of the testator.
OCGA § 53-4-62