perf(ChangeDetector): lazy initialize DuplicateMap

This slightly reduces number of Maps in the system.