I've asked chatGPT for what you want to achieve, here's the reply:
Yes, it is possible to achieve the functionality you described in PowerPoint by using VBA (Visual Basic for Applications) code.
Assuming that your shapes and images are grouped together, you can use a macro to copy the selected group and paste it into a new location on the same slide. Here is some sample code that will copy the selected shape or image group and paste it into a new line on the slide:
```
Sub CopyAndPaste()
Dim selectedShape As ShapeRange
Set selectedShape = ActiveWindow.Selection.ShapeRange
If Not selectedShape Is Nothing Then
'Copy the selected shape range
selectedShape.Copy
'Add a new shape range one line below the selected shape range
Dim newShapes As ShapeRange
Set newShapes = selectedShape.Parent.Shapes.Range(selectedShape.Count + 1).Duplicate
'Reposition the new shape range to start at the left of the slide
newShapes.Left = 0
End If
End Sub
```
To repeat the pattern a specified number of times, you could create another macro that duplicates the second row of shapes and pastes them into a third row, as many times as specified. Here is some sample code that will duplicate the second row of shapes and paste it into a third row a specified number of times:
```
Sub RepeatPattern()
Dim numOfRepeats As Integer
numOfRepeats = InputBox("How many times do you want to repeat the pattern?")
Dim secondRow As ShapeRange
Set secondRow = ActivePresentation.Slides(1).Shapes.Range(Array(2, 3, 4)).Duplicate
Dim i As Integer
For i = 1 To numOfRepeats
Dim nextRowTop As Single
nextRowTop = secondRow.Top + secondRow.Height * i
Dim nextRow As ShapeRange
Set nextRow = secondRow.Duplicate
nextRow.Top = nextRowTop
Next i
End Sub
```
Note that the above code assumes that the shapes and images are on the first slide of the presentation and that they are grouped together. You may need to modify the code to fit your specific situation. Also note that enabling macros in PowerPoint can be a security risk, so you should only run macros from trusted sources.