The following hooks have been updated in the same way and only receive the updated $account entity. The original, unchanged $account can be accessed through $account->original.

Drupal 7

<?php
function mymodule_user_presave(&$edit, $account, $category) {
 
// Make sure that our form value 'mymodule_foo' is stored as
  // 'mymodule_bar' in the 'data' (serialized) column.
 
if (isset($edit['mymodule_foo'])) {
   
$edit['data']['mymodule_bar'] = $edit['mymodule_foo'];
  }
}
?>

Backdrop CMS

<?php
function mymodule_user_presave($account) {
 
// Make sure that our form value 'mymodule_foo' is stored as
  // 'mymodule_bar' in the 'data' (serialized) column.
 
if (isset($account->mymodule_foo)) {
   
$account->data['mymodule_bar'] = $account->mymodule_foo;
  }
}
?>
Introduced in branch: 
1.0.x
Introduced in version: 
1.0.0
Impacts: 
Module developers
Related Github Issues: 
https://www.drupal.org/project/drupal/issues/1361228