On FreeBSD 11.x and 12.x (and older ones) the currently by default remains the old (not ZFS on Linux) ZFS implementation that has lots of FreeBSD additions like TRIM that was lacked on Linux.
FreeBSD forked ZFS on Linux GitHub repo and now its called ZFS on FreeBSD. You can try it already by installing these two ports:
- sysutils/zol
- sysutils/openzfs-kmod
Regards, vermaden