458:24 Decree.
In any proceeding under this chapter, except an action for legal separation, the court may, when a decree of divorce or nullity is made, restore a former name of the spouse, regardless of whether a request therefor had been included in the petition.