# Clone Datasets

In Unitlab Annotate, datasets are released from projects, while projects can also be created from the released datasets—a process known as the **cyclical workflow** of Unitlab Annotate.

The cyclical workflow of Unitlab Annotate enables you to perform projects to datasets, datasets to projects, and so on, engaging you until your datasets reach a high-quality level. This workflow contains actions such as "[Release](https://docs.unitlab.ai/dataset-management/release-datasets)," "[Manage](https://docs.unitlab.ai/dataset-management/manage-datasets)," and "[Clone Datasets](#cloning-a-dataset)."

{% hint style="info" %}
If you missed learning how to release and manage datasets, you can learn about them on the "[Release Datasets](https://docs.unitlab.ai/dataset-management/release-datasets)" and "[Manage Datasets](https://docs.unitlab.ai/dataset-management/manage-datasets)" pages, respectively.
{% endhint %}

{% content-ref url="release-datasets" %}
[release-datasets](https://docs.unitlab.ai/dataset-management/release-datasets)
{% endcontent-ref %}

{% content-ref url="manage-datasets" %}
[manage-datasets](https://docs.unitlab.ai/dataset-management/manage-datasets)
{% endcontent-ref %}

In Unitlab Annotate, cloning datasets is a part of the cyclical workflow and is used for two main purposes:

* [**Cloning a Dataset**](#cloning-a-dataset)**:** Clone other's public datasets and make your own version.
* [**Restoring a Project**](#restoring-a-project): Restore a project with specific version of the dataset.

<figure><img src="https://1366014570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVY6yJqW9wWHP6u0XYu5Q%2Fuploads%2F3DQXPz8DgfInD71rlG09%2Fimage.png?alt=media&#x26;token=db77012a-94ce-42f6-a96f-63861fa391a4" alt="" width="563"><figcaption><p>Unitlab Annotate: Dataset Page - "Clone Dataset" Button</p></figcaption></figure>

<figure><img src="https://1366014570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVY6yJqW9wWHP6u0XYu5Q%2Fuploads%2FJPkcQsNJSEX0StUB5R5p%2Fimage.png?alt=media&#x26;token=b8209d74-84ab-4639-b505-7459693908ae" alt=""><figcaption><p>Unitlab Annotate: Dataset page - Cloning a Dataset</p></figcaption></figure>

### Cloning a Dataset

When you click the "Clone Dataset" button for the dataset you want to clone, it asks whether to clone with annotations or without annotations as follows:

<figure><img src="https://1366014570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVY6yJqW9wWHP6u0XYu5Q%2Fuploads%2FfLiMCqYNEp5Ll3luTRIr%2Fimage.png?alt=media&#x26;token=7e97447e-9a49-40b9-8602-857caa43949f" alt=""><figcaption><p>Unitlab Annotate: Dataset Page - "Cloning a Dataset with or without Annotations" Pop-Up</p></figcaption></figure>

{% hint style="info" %}
If you prefer to clone a dataset with annotations, then both the annotations and data remain in the project creation. Otherwise, only the data (images) without annotations is available in the project creation.
{% endhint %}

When you click "confirm," a project creation process starts as shown in the screenshot below:

<figure><img src="https://1366014570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVY6yJqW9wWHP6u0XYu5Q%2Fuploads%2FOECsnwzFrQpK5eVMmoTw%2Fimage.png?alt=media&#x26;token=f90b0d69-bf82-47c5-a95f-ff94aac35a67" alt=""><figcaption><p>Unitlab Annotate: A Cloned Dataset - Project Creation</p></figcaption></figure>

The project creation steps are the same as those we learned on the "[Setup a Project](https://docs.unitlab.ai/project-management/setup-a-project)" page. Learn how to create projects from scratch on this page.&#x20;

{% content-ref url="../project-management/setup-a-project" %}
[setup-a-project](https://docs.unitlab.ai/project-management/setup-a-project)
{% endcontent-ref %}

### **Restoring a Project**

Each new dataset release from your project creates a new version of the dataset. You can restore the project using any specified version of the dataset.

<figure><img src="https://1366014570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVY6yJqW9wWHP6u0XYu5Q%2Fuploads%2FyTEjxZuJQ9ylq4r99ARK%2Fimage.png?alt=media&#x26;token=3c5949f8-f538-437a-aa39-db1945608269" alt=""><figcaption><p>Unitlab Annotate: Clone Dataset with a Version</p></figcaption></figure>

To restore a project, go to the dataset you want to restore as a project and select the preferred version and click "Clone Dataset" located in the upper right corner of the dataset page.

When you select a dataset version and click "Clone Dataset," the project creation begins with the selected version of annotations. The process for creating a project is standard and follows the same steps as those we learned in "[Setup a Project](https://docs.unitlab.ai/project-management/setup-a-project)."


---

# 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.unitlab.ai/dataset-management/clone-datasets.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.
