add get_copy function to lib/memory to be used from typemaps for clones
fix typo in doxygen formula
add some get_strdup function to avoid compile errors (strdup is not ansi C!)