See the following change record: New methods to access original (unchanged) entity during entity update added to EntityInterface, EntityBase::$original is deprecated →
"Previously, $entity->original was used to access the original entity during update operations.
Instead, use \Drupal\Core\Entity\EntityInterface::getOriginal()"
Active
1.0
Code