Derive Clone for TypeId.