Don't try to duplicate nil options

In the case when `options` is omitted, calling `.dup` on it results in `TypeError:   can't dup NilClass`.