Fixes #14 - improve doesNotHaveDuplicates performance when a custom comparison strategy is used
refactoring : remove Embedded class that was actually not needed and avoid the algorithm duplication