fixes for deep copy, also moved UFOtoCPSKeyMap into a func in MOMGlyph.