§ 351. Saving clause. The repeal of a law, as specified in section three hundred and fifty-three shall not affect or impair any contract, or any act done, or right accruing, accrued or acquired or any penalty, forfeiture, or punishment incurred prior to the time when this chapter or any section thereof takes effect, under or by virtue of the laws so repealed, but the same may be asserted, enforced, prosecuted, or inflicted, as fully and to the same extent, as if such laws had not been repealed.