public object Clone() { var clone = new Path(); var steps = new PathStep[Steps.Count]; Steps.CopyTo(steps); clone.Steps = steps.ToList(); return(clone); }
public void Add(PathStep step) { Steps.Add(step); }