curl --location --request POST 'https://app.asana.com/api/1.0/tasks//duplicate' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data": {
        "include": [
            "notes",
            "assignee"
        ],
        "name": "New Task Name"
    }
}'{
    "data": {
        "gid": "12345",
        "resource_type": "task",
        "new_project": {
            "gid": "12345",
            "resource_type": "task",
            "name": "Stuff to buy"
        },
        "new_task": {
            "gid": "12345",
            "resource_type": "task",
            "name": "Bug Task"
        },
        "resource_subtype": "duplicate_task",
        "status": "in_progress"
    }
}