copy cleanup method to view options

Allow custom cleanup of layout on remove.