}
-Inset * InsetExternal::clone(Buffer const &) const
+Inset * InsetExternal::clone(Buffer const &, bool same_id) const
{
InsetExternal * inset = new InsetExternal();
inset->params_ = params_;
inset->view_ = view_;
+ if (same_id)
+ inset->id_ = id_;
return inset;
}