Example:
$a = new stdClass();
$a->name = 'bob';
$b = new stdClass();
$b->name = 'bob';
$array = [$a, $b];
$result = Arrays::uniqueBy($array, 'name');
Result:
Array
(
[0] => $b
)