@Override
    public HttpRequest clone() {
        HttpRequest r = (HttpRequest) super.clone();
        r.headers = new LinkedList<>(r.headers);
        r.urlOptions = new LinkedList<>(r.urlOptions);
        return r;
    }
Create a copy of this request, and override what is specified in the input in the new request.
clustercontroller-utils/src/main/java/com/yahoo/vespa/clustercontroller/utils/communication/http/HttpRequest.java