Fix saving of animation parameters
When cloning the image, these parameters should be saved as well.
BUG:372171