Creates an independent copy of a hash table.
Elements are copied by simple assignment, which may translate into a shallow copy.
Set to zero on success, non-zero otherwise.
A shallow copy of the given hash table, or an empty table in case of failure (OOM).
Creates an independent copy of a hash table.
Elements are copied by simple assignment, which may translate into a shallow copy.