Whenever, by the provisions of this act, a power is granted to a public officer or a duty imposed upon such an officer, the power may be exercised or the duty performed by a deputy of the officer or by a person authorized pursuant to law by the officer.