That’s Ubuntu-specific where they provide their own kernel bundled with ZFS. It was working fine before 20.04 as well in the same way it does for other distros. Has nothing to do with the comment you’re replying to.
There's not much of a difference betweens building with a kernel module or building an independent kernel module. I can't figure out what the question being asked is, but I don't see how Ubuntu would matter.