d3dx9: CloneMesh test and improvements