Fix reference counting for "option" objects, when being duplicated.