Added mutable array keep if rubyish method.