private void ensureHasBeforeRecordImage() { if (manageBeforeState && this.before == null) { this.before = loader.clone(record); } }