Create stack traces with no_refs option

If this option isn't set, references to function arguments in the stack
trace are retained. This can lead to destructors being called twice if
an exception is thrown from a destructor, like in
DBIx::Class::Storage::TxnScopeGuard, for example.