@Override
    public EncryptedPutObjectRequest clone() {
        EncryptedPutObjectRequest cloned = (EncryptedPutObjectRequest) super.clone();
        final Map<String, String> materialsDescription = getMaterialsDescription();
        cloned.withMaterialsDescription(materialsDescription == null
            ? null
            : new HashMap<String, String>(materialsDescription))
            ;
        return cloned;
    }
Returns a clone (as deep as possible) of this request object.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/EncryptedPutObjectRequest.java