Partitioning of a graph into induced subgraphs not containing prescribed cliques