This ensure that the modification on the object are removed at the end of the scenario. issue10422 review332891002 (grafted from df2d180aecaf85de88f8501f2f703ffc9dc4564b) --HG-- branch : 6.0
issue9740 review320181004