R18: Add shallowCopy() and transform() to MgShapes.

Add functions for MgPlaying.