fixed: deep copy in Restraint_Record class