In all cases where the State of New Jersey has received or shall hereafter receive a conveyance of land subject to restrictions as to the use thereof (except for highway purposes) and the grantor named in such conveyance or his successors in title shall release the land from such restrictions, or where the owners of all other lands subject to the said restrictions shall release the land therefrom, then and in that event the State Highway Commissioner may by good and sufficient conveyance in the law release the said lands from said restrictions.
N.J.S. § 27:7-22.1