[feature] [vector] remove multiple lasts

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Merge remote-tracking branch 'origin/master'