Add "extend" functionality to crop