Added `fromArray()` method to options builder