Where, upon the trial of a person for larceny, it appears--
(a) that the person had fraudulently appropriated to his or her own use or that of another, the property in respect of which the person is indicted, although the person had not originally taken the property with any fraudulent intent, or
(b) that the person had fraudulently retained the property in order to secure a reward for its restoration,the jury may return a verdict accordingly, and thereupon the person shall be liable to imprisonment for two years, or to a fine of 20 penalty units, or both.