If you want to duplicate a task with its subtasks, you need to copy everything, including the comments. You cannot copy only the task and its subtask.
The workaround is to create a template, and then use the template to create a new task.