Duplicating a project also duplicates tasks

When I duplicate a project the new duplicated project is created with all task also duplicated (two copies of each task) within it.

Version: v0.24.1-21-49fa0a8468

So the new project contains the tasks of the old project twice?

Yes, exactly that.

On another topic, someone pointed out that if you delete the views and recreate it at the original project before duplicating it, it solves the issue. Weird, but worked for me too.

Sounds like this: Duplicating a board puts the buckets in the original board and Tasks repeated when creating a duplicate of a project · Issue #297 · go-vikunja/vikunja · GitHub

Do you see the behaviour from those reports?

Yes, it was the same thing as Issue #297 describes.

Is this still a problem with 0.24.2 or the latest unstable build?

No, it was solved. I have already flagged your last answer as solution.
Thank you