bem/bem-history — pull request #5 by ivn-cote (2013-07-29 10:28:43+00:00)
Title: Return deep copy of state

_state is private var, so a copy of it should be returned. Otherwise undesirable modifications can happen. E.g.
$.extend(BEM.blocks['i-location'].get().getState().params, myParams)
will affect _state.