Provide properties on the output array. That forbids deepEqual and not well established pattern, although pretty handy. Does not allow to generate a sequence of linked arrays.
Keep internal weakmap cache of per-instance states. Does not allow to generate a sequence of linked arrays.
Use global state - generates a sequence of arrays.
Constructing a function is unreasonable:
More natural is to have instant signature as
generate.<what>(<how much>, <how?>)
:That also allows for reducing difficult audio-through dependency.