The site mechanics requires that there is at least one up-voted and/or accepted answer to use it as dupe.
Apart from that, the only thing that should matter is the quality of the question and posted answer(s). The best post should be preserved, other duplicates should be closed as dupe to that one. Post age doesn't matter. The number of answers doesn't matter. But the number of votes per answer does matter, as an indication of quality.
With this in mind, we should not necessarily close down all new dupe questions immediately. If the present dupes are so-so and not crystal-clear "canonical dupes", it might be wise to keep the new question open for a day or so - even if it's a dupe. Given that the question seems to be good and interesting enough.
Because if the new question starts to attract high-quality answers, the new question might turn out to be a much better canonical dupe than what's already on the site. In particularly if the present posts are outdated because of changes in the programming language etc.
In such cases, the old posts should be closed as dupes to the new one.
The above goes for all dupe closing, not just dupe hammer. But dupe-hammer wielders are probably most suitable to use the above method, since they have the domain knowledge to tell what's good and can also get the job done immediately, without the need of voting.