func runtime.AddCleanup

one use

	runtime (current package)
		mcleanup.go#L69: func AddCleanup[T, S any](ptr *T, cleanup func(S), arg S) Cleanup {