simplified setOption with array options