Dup the changed_attributes otherwise we could lose them
Merge pull request #15016 from arthurnn/dup_attr_on_save_state

Dup the changed_attributes otherwise we could lose them