public GDESDebugData ShallowClone() { string newKey = Guid.NewGuid().ToString(); GDESDebugData newClone = new GDESDebugData(newKey); newClone.SinglePlayerStartForTest = SinglePlayerStartForTest; newClone.FreeDealCardsRuleForTest = FreeDealCardsRuleForTest; newClone.LessCardsCountForTest = LessCardsCountForTest; return(newClone); }
public GDESDebugData DeepClone() { GDESDebugData newClone = ShallowClone(); return(newClone); }