Copy all content elements if pages are duplicated with childs (see #5241)