# Clone row

## ![](/files/I8mzGtM3lTsg9LrIhQrB) Clone row

### Description <a href="#description" id="description"></a>

The Clone Row transform creates copies (clones) of a row and outputs them directly after the original row to the next transforms.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | <sup>✓</sup> |
| Flink      | <sup>✓</sup> |
| Dataflow   | <sup>✓</sup> |

### Options

| Option           | Description                                                                                                                                                                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transform name   | Name of the transform. Note: This name has to be unique in a single pipeline.                                                                                                                                                                                       |
| Nr clones        | The number of clones you want to add after the original row.                                                                                                                                                                                                        |
| Add clone flag   | <p>Check this option if you want to add a boolean field in the output indicating if the row is a clone or not.</p><ul><li>N / false : this is not a cloned row, it’s the original row</li><li>Y / true : this is a cloned row, a copy of the original row</li></ul> |
| Clone flag field | The name of the clone flag field                                                                                                                                                                                                                                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/clonerow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
