Invoke getClonedElement() on each element on copy

This ensures that attributes and properties that are supposed to be
stripped on copypaste are actually stripped.

Bug: 49307
Change-Id: I8c90f4a0b33acba6eea3180cc077f8dc440e6e7b
Merge "Invoke getClonedElement() on each element on copy"