Fixed mixup between empty() and clear() so memory is realesed correctly

I still don't understand that completely. First, you copy `_options` into `options` and then you clear `options`?