Implemented array_intersect_recursive.