Hi I was using uniqueId to uniquely represent a mesh and I noticed if I use a cloned mesh ( mesh.clone() ) their uniqueId would be the same.
After debugging the code the cloned mesh has a uniqueId after this line:
super(name, scene);
But after the line:
Tools.DeepCopy(source, this, ["name", "material", "skeleton", "instances", "parent"], ["_poseMatrix"]);
They now have the same uniqueId
Which can be seen here:
http://babylonjs-playground.azurewebsites.net/#27FBML#0