есть массив такого вида
[181] => stdClass Object
(
[id] => 181
[name] => Страна происхождения
[position] => 181
[in_filter] => 1
[is_slider] => 0
[options] => Array
(
[0] => stdClass Object
(
[product_id] => 4454
[feature_id] => 181
[value] => Array
(
[0] => Венгрия
)
[count] => 2
)
[1] => stdClass Object
(
[product_id] => 3913
[feature_id] => 181
[value] => Array
(
[0] => Австрия33
[1] => Россия
)
[count] => 1
)
[2] => stdClass Object
(
[product_id] => 812
[feature_id] => 181
[value] => Array
(
[0] => Россия
[1] => Корея
)
[count] => 1
)
[4] => stdClass Object
(
[product_id] => 2145
[feature_id] => 181
[value] => Array
(
[0] => Россия
)
[count] => 10
)
)
)
[190] => stdClass Object
(
[id] => 190
[name] => Источник питания
[position] => 190
[in_filter] => 1
[is_slider] => 0
[options] => Array
(
[0] => stdClass Object
(
[product_id] => 3913
[feature_id] => 190
[value] => Array
(
[0] => Аккумуляторы/Сеть 220В
)
[count] => 13
)
[1] => stdClass Object
(
[product_id] => 812
[feature_id] => 190
[value] => Array
(
[0] => Аккумуляторы/Сеть 220В/Сеть авто
)
[count] => 2
)
[2] => stdClass Object
(
[product_id] => 5470
[feature_id] => 190
[value] => Array
(
[0] => Батарейки
)
[count] => 2
)
[3] => stdClass Object
(
[product_id] => 5472
[feature_id] => 190
[value] => Array
(
[0] => Батарейки АА
)
[count] => 1
)
)
)
...
нужно очистить его от повторяющихся значений value во вложенном массиве options В данном случае это 'Россия'. подскажите пожалуйста как это провернуть а то голову себе я уже сломал..