def clone_fin
import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitsetimport Base
363# Two independent bitsets with the same contents (the linear form of sharing).
364def clone_fin(p: Array<Wd> & Array<Wd>, +n: Nat, +d: Nat) -> Bitset & Bitset:
365 (a, b) = p
366 (BS{n, d, a}, BS{n, d, b})