Make relations and expressions cloneable