public GDEDecoData ShallowClone() { string newKey = Guid.NewGuid().ToString(); GDEDecoData newClone = new GDEDecoData(newKey); newClone.raceName = raceName; newClone.typeName = typeName; newClone.shapePath = shapePath; return(newClone); }
public GDEDecoData DeepClone() { GDEDecoData newClone = ShallowClone(); return(newClone); }