extra flag for skipping the data itself when copying leaf nodes