Implement clipTo serialization, deserialization, and initialization. Closes #583. Closes #677. Closes #676