# Data Object - VslmCloneSpec(vim.vslm.CloneSpec)

Parameter to
  CloneVStorageObject_Task, HostCloneVStorageObject_Task
Extends
  VslmMigrateSpec
See also
  KeyValue
Since
  vSphere API 6.5

## Data Object Description

Specification of cloning a virtual storage object.

Properties

Name | Type | Description
--- | --- | ---
keepAfterDeleteVm* | xsd:boolean | Choice of the deletion behavior of this virtual storage object. If not set, the default value is false. Since vSphere API 6.7
metadata* | KeyValue[] | The metadata KV pairs that are supposed to be updated on the destination virtual storage object. The clone task is atomic by design. That being said, failing to update the specified metadata pairs leads to the failure of the clone task. If unset, no metadata will be updated. An empty string value is indicative of a vcenter tag. Since vSphere API 6.7.2
name | xsd:string | Descriptive name of the cloned virtual storage object.
Properties inherited from VslmMigrateSpec
backingSpec, consolidate, disksCrypto, profile
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VslmCloneSpec"> <complexContent> <extension base="vsan:VslmMigrateSpec"> <sequence> <element name="name" type="xsd:string"/> <element name="keepAfterDeleteVm" type="xsd:boolean" minOccurs="0"/> <element name="metadata" type="vsan:KeyValue" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>