Add docstrings and types for MambaCache (#30023)
* Add docstrings and types for MambaCache
* Update src/transformers/models/mamba/modeling_mamba.py
* Update src/transformers/models/mamba/modeling_mamba.py
* Update src/transformers/models/mamba/modeling_mamba.py
* make fixup
* import copy in generation_whisper
* ruff
* Revert "make fixup"
This reverts commit c4fedd6f60e3b0f11974a11433bc130478829a5c.