Counties, anywhere within the county boundaries, and municipalities, anywhere within the municipal boundaries, are authorized, jointly and severally, to preserve and protect any abandoned cemetery or any burial ground which the county or municipality determines has been abandoned or is not being maintained by the person who is legally responsible for its upkeep, whether or not that person is financially capable of doing so, to expend public money in connection therewith, to provide for reimbursement of such funds by billing any legally responsible person or levying upon any of his property as authorized by local ordinance, and to exercise the power of eminent domain to acquire any interest in land necessary for that purpose.