fix cloner management of root attribute