save/restore IndexOutOfBoundsOptions/ColorOutOfBoundsOptions