It is common to agree on a form of reference for the departing employee. This helps to avoid future disputes and can be included with a settlement agreement.