code: func (af *avgFunction) Clone() AggregationFunction {
  	nf := *af
  	for i, arg := range af.Args {
  		nf.Args[i] = arg.Clone()
  	}
  	nf.resultMapper = make(aggCtxMapper)
  	return &nf
  }
docs: // Clone implements AggregationFunction interface.