Add iri_dup; hide implementation details of iri_t.