This was originally forked from https://github.com/golang/go/blob/master/src/reflect/deepequal.go in order to
AddFuncs
mechanism to add custom equality funcs for specific types.Meanwhile it has diverged quite a lot while still following the original algorithm at the core though.