Filter dupes from classpath/flatten.