Small refactoring on the methods names.
Also separated the logic of the unionWithArray method. So now we have a method that removes the duplicates (uniqueObjects) and a method (arrayByMerginObjectsFromArray) that adds a new array and removes the duplicates.