When summoning a dolphin with a custom name using commands they will still de-spawn when you move past the de-spawn distance. Other fish and turtles do not share this behavior.
I used the command below:
/summon minecraft:dolphin{EntityTag:{CustomName:"\"MR. BUBBLES\""}}
Duplicates MC-31090. SetPersistenceRequired: 1b
if you don't want it to despawn.Oh my bad, not even looking at that command