Deduplicate tiles when pasting