Preserve edits after replacing an image

It would be really great if there was an option to preserve/retain any edit or adjustments we make to an image.

Here’s a rough idea: