### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

In localstack, copying an s3 object in place and requesting a checksum causes an error

An error occurred (InvalidRequest) when calling the CopyObject operation: This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.

### Expected Behavior

AWS s3 allows you to copy the object in place and request a checksum.

aws s3api put-object --bucket my-test-bucket --key go.mod --body .\go.mod
{
    "ETag": "\"f65b3f9b21e0c27be3c60df9c1cd87db\"",
    "ServerSideEncryption": "AES256"
}

aws s3api copy-object --copy-source my-test-bucket/go.mod --bucket my-test-bucket --key go.mod --storage-class STANDARD --checksum-algorithm SHA256
{
    "ServerSideEncryption": "AES256",
    "CopyObjectResult": {
        "ETag": "\"f65b3f9b21e0c27be3c60df9c1cd87db\"",
        "LastModified": "2023-04-19T17:09:16+00:00",
        "ChecksumSHA256": "nAPE7pxlr5L1D67nDJa1rwvmU3fKD2SuaUzeyhSR9Vc="
    }
}

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

docker compose up -d

awslocal s3api create-bucket --bucket my-test-bucket

awslocal s3api put-object --bucket my-test-bucket --key go.mod --body .\go.mod

awslocal s3api copy-object --copy-source my-test-bucket/go.mod --bucket my-test-bucket --key go.mod --storage-class STANDARD --checksum-algorithm SHA256


### Environment

```markdown
- OS: Windows 11
- LocalStack: pro latest
```


### Anything else?

_No response_
self, s3_create_bucket, create_iam_role_with_policy, snapshot, aws_client
    ):
        snapshot.add_transformer(snapshot.transform.s3_api())
        snapshot.add_transformer(
            snapshot.transform.jsonpath(
                "$..ReplicationConfiguration.Role", "role", reference_replacement=False
            )
        )
        snapshot.add_transformer(
            snapshot.transform.jsonpath(
                "$..Destination.Bucket", "dest-bucket", reference_replacement=False
            )
        )
        snapshot.add_transformer(
            snapshot.transform.key_value("ID", "id", reference_replacement=False)
        )
        bucket_src = f"src-{short_uid()}"
        bucket_dst = f"dst-{short_uid()}"
        role_name = f"replication_role_{short_uid()}"
        policy_name = f"replication_policy_{short_uid()}"
        role_arn = create_iam_role_with_policy(
            RoleName=role_name,
            PolicyName=policy_name,
            RoleDefinition=S3_ASSUME_ROLE_POLICY,
            PolicyDefinition=S3_POLICY,
        )