If any person, who has been accused of theft, restores or returns the property allegedly stolen before an indictment or information is laid before a magistrate, such fact may be considered in mitigation of punishment. The restoration or return of the property is not a defense nor may it be considered by the finder of fact.
SDCL 22-30A-10.1