Variant::setOptions should clear the collection before adding it