An enzyme that catalyzes the METHYLATION of GLYCINE using S-ADENOSYLMETHIONINE to form SARCOSINE with the concomitant production of S-ADENOSYLHOMOCYSTEINE.