ENH: enhance set_option syntax

closes #3667.