In Metamodel::Primitives§

See primary documentation in context for method configure destroy

method configure_destroy(Mu $type$destroy)

Configures whether DESTROY methods are called (if present) when the garbage collector collects an object of this type (if $destroy is set to a true value). This comes with a performance overhead, so should only be set to a true value if necessary.