deepClone: respect {share,ignore}Types and {share,ignore}GroupIds arguments

Bug reported by Michael Raab.
fixed: OSB loader check index property has useVBO set if the geometry uses useVAO (fixed nvidia linux driver crash)