Creates an instance of a CloneableGenerator
CloneableGenerator(this.fn, {this.args, this.namedArgs});