code: func (b *BuildArgs) Clone() *BuildArgs {
  	result := NewBuildArgs(b.argsFromOptions)
  	for k, v := range b.allowedBuildArgs {
  		result.allowedBuildArgs[k] = v
  	}
  	for k, v := range b.allowedMetaArgs {
  		result.allowedMetaArgs[k] = v
  	}
  	for k := range b.referencedArgs {
  		result.referencedArgs[k] = struct{}{}
  	}
  	return result
  }
docs: // Clone returns a copy of the BuildArgs type