I need a function like array_unique for arrays inside array.
array_unique
The Case - should be equal, but output \"not equal\":
You should modify your call for array_unique to have it include the SORT_REGULAR flag.
SORT_REGULAR
$arr2 = array_unique($arr, SORT_REGULAR);