Any person may obtain a right to maintain a milldam heretofore erected, or raise a milldam, upon his or her own land, by complying with the provisions of this act, adapting his or her petition to the nature of the case.