public PresignedUrlDownloadRequest clone() {
        PresignedUrlDownloadRequest target = new PresignedUrlDownloadRequest(getPresignedUrl());
        copyBaseTo(target);

        if (getRange() != null) {
            target.setRange(getRange()[0], getRange()[1]);
        }
        if (getMatchingETagConstraints() != null) {
            target.setMatchingETagConstraints(new ArrayList<String>(getMatchingETagConstraints()));
        } else {
            target.setMatchingETagConstraints(null);
        }

        return target;
    }
Creates and returns a new copy of the request.
This method also copies the internal state of the base {@link AmazonWebServiceRequest} class.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/PresignedUrlDownloadRequest.java