chore: generalize Array/Vector.extract_push
2 files changed