Updated function decl of `has_dup` to `const vec_basic &arg`