Memory effect in a turbulent boundary-layer flow due to a relatively strong axial variation of the mean-velocity gradient