Used to filter duplicates from an array of modules @example: modulesArray.filter(duplicateModules)