duplicate generic classes