internal new TestResultsHolder Clone() { return(new TestResultsHolder { Id = Id, ParentId = ParentId, IsSuite = IsSuite, Name = Name, Skipped = Skipped, Failure = Failure, Duration = Duration, Failures = Failures.ToList(), Nested = new List <SuiteOrTest>(Nested.Select(n => n.Clone())), Logs = Logs.ToList(), UserAgent = UserAgent, Running = Running, TestsFailed = TestsFailed, TestsFinished = TestsFinished, TestsSkipped = TestsSkipped, TotalTests = TotalTests }); }