public RobotRequired DeepCopy() { RobotRequired other = (RobotRequired) this.MemberwiseClone(); other.sessionDirectory = string.Copy(sessionDirectory); return other; } }