Removes doublicate declarations from the DTD, which first declaration is binding. This is the case for ATTLIST and ENTITY declarations.
returns : A function that replaces the children of DOCTYPE nodes by a list where all multiple declarations are removed.