GSList* g_slist_dup (GSList *list);
This is the functionality which I wanted from Glib but wasn't there.
Duplicates list.