Slice a sprite in two sprite

Is there any easy way to slice a sprite into two sprite using vector position?

This demo could be helpful

This needs a lots of code which i dont want to do. Is there any extension available? I think this feature is helpfull for all type of 2d shooter game.