Improved performances by avoiding a deep clone