add memoization options to argparse