Fix type error when cloning timestamps