Section 4. The deed of conveyance shall contain a clause providing that the lands conveyed shall be used for recreation purposes by the grantees and if at any time the said grantees convey said property or if said property is used for any purpose other than recreation purposes, the title to the said property, with any improvements, shall immediately revert to the Commonwealth of Pennsylvania, subject to such limitations, terms and conditions as may be applicable to property obtained through funds supplied under Federal programs.