Make inserting options work with copies and pointer values.