Where, on the trial of a person for larceny, it appears that the accused appropriated the property in question to the accused's own use, or for the accused's own benefit, or that of another, but intended eventually to restore the same, or in the case of money to return an equivalent amount, such person shall not by reason only thereof be entitled to acquittal.