Add some methods to `Strdup` and `Strdupv`