If you call this with a single array (presuming `value.options` is an array) you're going to get back an array of arrays by calling `slice` - is that intended?