Fish pets can turn invisible.
You can use a waterbucket on fish pets to catch them (any of them that have a bucket type) in creative/flatmap This will turn them invisible. It will keep existing, and you can still hear it running around and see its particles when it hits the ground or teleports to their owner but it's just invisible to the owner who used the bucket.
Edited by YZEROgame