This ensure that the modification on the object are removed at the end of the scenario. issue10422 review332891002