Create a new gdk.toplevel_layout.ToplevelLayout and copy the contents of layout into it.
a copy of layout.
Create a new gdk.toplevel_layout.ToplevelLayout and copy the contents of layout into it.