public TestItemScoreInfo DeepCopy() { TestItemScoreInfo copy = (TestItemScoreInfo)(this.MemberwiseClone()); if (_features != null) { copy._features = new Dictionary<string, List<string>>(); foreach (KeyValuePair<string, List<string>> kvp in _features) copy._features.Add(kvp.Key, new List<string>(kvp.Value)); } if (irtModel != null) copy.irtModel = irtModel.DeepCopy(); return copy; }