Make SQL cloneable