ENH: Handling of scalar cubes for extract.