Said municipality shall have power to take and hold property of every kind, either within or without the state upon trust; and to administer trusts for the public benefit.