Issue #2351583 by venutip: Fixed data not copied on clone.