I love this question because I think about it daily. I think there needs to be a token registry platform. Every time a new token is minted, the associated IPFS hash would be included in the registry. Then if someone tried to mint a token on another contract using the same hash, the registry would be able to inform marketplaces, buyers, etc.
The technical implementation and the decentralization qualities of this are super fuzzy. But it’s an idea!