Make a copy of the builder and its state.
The new builder is allocated with [ctor
Builder.new] and should be freed with
Attribute value memory is automatically shared between the two builders, and is only freed when both are gone.
the builder to copy
the builder copy, which should be freed with builder_unref.