@Override
    public long getUniqueId() {
        return ((long) OBJTYPE_VERTEXBUFFER << 32) | (0xffffffffL & (long) id);
    }
Creates a deep clone of this VertexBuffer but overrides the
{@link Type}.

@param overrideType The type of the cloned VertexBuffer
@return A deep clone of the buffer
jme3-core/src/main/java/com/jme3/scene/VertexBuffer.java