In the early stages of a project, it's okay to duplicate code. This can help you experiment and try out different ideas without getting bogged down.
Sometimes, trying to make code too simple can make it confusing. If making code DRY makes it hard to understand, a bit of repetition might be better.
In situations where speed is crucial, duplicating code can actually improve performance. Sometimes, it's more important to focus on speed than to keep everything sleek and minimal.