The spec does call out that some parsers deal with this. And since it is javascript based, leniency is the norm.
That is, you could rely on this and but be aware of it, is my point. Firefox, for example, will happily take an object with duplicates and report only the last one.