text: public virtual object Clone(){SegmentCommitInfo other = new SegmentCommitInfo(Info, delCount, delGen, fieldInfosGen);other.nextWriteDelGen = nextWriteDelGen;other.nextWriteFieldInfosGen = nextWriteFieldInfosGen;foreach (KeyValuePair<long, ISet<string>> e in genUpdatesFiles){other.genUpdatesFiles[e.Key] = new JCG.HashSet<string>(e.Value);}return other;}