If any municipality takes any land, for highway or other purposes, which land was purchased for park or other recreational or open space purposes, or for which bonds were issued for such purposes, or which had been dedicated for such purposes, such municipality shall provide comparable replacement land at least equal in value and per unit area size to the value and per unit area size of the land t