FITAG * DLL_CALLCONV
FreeImage_CloneTag(FITAG *tag) {
if(!tag) return NULL;
if (!tag || !tag->data) return NULL;
// allocate a new tag