@Override public Object clone() throws CloneNotSupportedException { BasicClientCookie2 clone = (BasicClientCookie2) super.clone(); clone.ports = this.ports.clone(); return clone; }