Add code stub for cloning endpoints bug #7649