public NestingRelationship Clone(CompositeType parentType, TypeBase innerType) { NestingRelationship nesting = new NestingRelationship(parentType, innerType); nesting.CopyFrom(this); return nesting; }