When threatened, they eject a dark ink to hide them from predators, as do all cephalopods.
(they; eject; a dark ink to hide them from predators,; T:When threatened)
they
eject
a dark ink to hide them from predators, T:When threatened