Allow to set the "createNewVersion" flag of the data container (see #6130)