code: func (vm *VirtualMachine) RenewVM(client *vim25.Client) VirtualMachine {
  	dc := Datacenter{Datacenter: object.NewDatacenter(client, vm.Datacenter.Reference())}
  	newVM := object.NewVirtualMachine(client, vm.VirtualMachine.Reference())
  	return VirtualMachine{VirtualMachine: newVM, Datacenter: &dc}
  }
docs: // RenewVM renews this virtual machine with new client connection.