Automatic duplicate linking

In Windows I can use Clonespy to save space by linking duplicate large ‘WORM’ files every few months. Is there a similar tool for ZFS? I don’t need live deduplication, and don’t care if it occurs at block or file level. Something that can rewrite if edits are made would be nice, like the block cloning features.

(or more specifically, is there a tool to use the new Block Reference Table (BRT) feature to perform offline batches of deduplication?)