This would be a nice feature to have by default. What I have heard as a workaround is to create a new anchor in front of the camera for every frame and measure the camera pose relative to the last frame as your world coordinates instead of using camera.transform.