fix to BuildMetaClass's cloning. Was not copying all fields.