I have been given a task to write my own implementation for removing duplicate objects from an array, but not just simply remove them, I need to add the double object product pr