remove duplicate objects from data