Remove duplicates on a per-source basis.