dont remove duplicates when merge collections laravel code example Example: laravel collection remove duplicates $unique = $collection->unique();