The storage position ranges for the cloned samples can be given in the storagePositionRanges array, where the offset is the starting position in the storage position range and the limit is how many samples will be placed after the starting position. The total number of storage positions (the sum of limit) must be equal to cloneTimes. If no storage position ranges are specified, the cloned samples will not be added to a storage unit.
The quantity of the cloned samples can be changed using quantity amount and unit.
The trackParent parameter is a boolean indicating whether the original sample should be linked as parent to the clone sample(s).
The incrementSampleName parameter contains all the data for when you want to add an increment to the sample name. The numberPlacement can be 'Prepend' or 'Append'.
example:
{
storagePositionRanges: [{
storageLayerID: 109061,
limit: 1,
offset: 2,
}],
quantity: {
amount: 1,
unit: "KiloGram"
},
cloneTimes: 1,
trackParent: true
incrementSampleName: {
startNumber: 0,
stepSize: 5,
numberPosition: "prepend"
}
}