GLTFExporter, morph-targets issue

Hi to all. Faced the following problem, my scene consist of several object copies, that has different ‘morphTargetInfluences’ values, but after exporting and saving model ‘morphTargetInfluences’ have same values. When i import that model into Blender i see that names of meshes sme too. It looks like the ‘GLTFExporter’ is somehow optimizing the model for reusing same geometry. But how to avoid it in my case?

i fixed this case with cloning the mesh geometry separately

can you share with me how you did that ?

so… I just cloned a mesh before applying morphing ‘mesh.geometry = mesh.geometry.clone();’