MarkDuplicate() redesign completed.