convert merge to optionize, https://github.com/phetsims/chipper/issues/1224
convert merge to optionize, https://github.com/phetsims/chipper/issues/1224

phetsims/phet-core,phetsims/phet-core,phetsims/phet-core