The mayor and aldermen of said city are hereby empowered to accept money and property by gift, grant, will, or otherwise, and to hold the same in trust according to the terms of the gift, grant or legacy, to promote, accomplish or carry out any corporate purpose, or to promote the convenience, health or welfare of all the citizens of said city, or any class thereof. Such money or property may be held in trust for buying, keeping and beautifying cemeteries and burial grounds of said city and the individual squares of the donors of said trust property, the establishment and maintenance of playgrounds and recreation parks, the equipment and maintenance of libraries, hospitals and schools and other corporate enterprises. And the said mayor and aldermen shall invest and preserve such trust property under the terms and conditions of the gift, and where no terms and conditions are prescribed, under the direction of the city council. The City of Milledgeville shall be responsible for the preservation of the trust property received under this section in the same manner as the trustees of private funds.